package com.woniuxy.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


public class Staff implements Serializable{

	private Integer id;
	private Integer dept_id;
	private Integer p_id;
	private Integer title_id;
	private String staff_code;
	private String staff_name;
	private String sex;
	private String card;
	private String natives;
	private Date date;
	private String age;
	private String nation;
	private String political;
	private String marry;
	private String computer;
	private String language;
	private String degree;
	private String email;
	private String address;
	private String specialty;
	private String photo;
	private String state;
	private Integer man_id;
	private JobTitle jt;
	private Position position;
	public Staff() {
		// TODO Auto-generated constructor stub
	}

	public Position getPosition() {
		return position;
	}
	public void setPosition(Position position) {
		this.position = position;
	}
	
	public JobTitle getJt() {
		return jt;
	}
	public void setJt(JobTitle jt) {
		this.jt = jt;
	}
	public Staff(Integer id, Integer dept_id, Integer p_id, Integer title_id, String staff_code, String staff_name,
			String sex, String card, String natives, Date date, String age, String nation, String political,
			String marry, String computer, String language, String degree, String email, String address,
			String specialty, String photo, String state, Integer man_id) {
		super();
		this.id = id;
		this.dept_id = dept_id;
		this.p_id = p_id;
		this.title_id = title_id;
		this.staff_code = staff_code;
		this.staff_name = staff_name;
		this.sex = sex;
		this.card = card;
		this.natives = natives;
		this.date = date;
		this.age = age;
		this.nation = nation;
		this.political = political;
		this.marry = marry;
		this.computer = computer;
		this.language = language;
		this.degree = degree;
		this.email = email;
		this.address = address;
		this.specialty = specialty;
		this.photo = photo;
		this.state = state;
		this.man_id = man_id;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDept_id() {
		return dept_id;
	}

	public void setDept_id(Integer dept_id) {
		this.dept_id = dept_id;
	}

	public Integer getP_id() {
		return p_id;
	}

	public void setP_id(Integer p_id) {
		this.p_id = p_id;
	}

	public Integer getTitle_id() {
		return title_id;
	}

	public void setTitle_id(Integer title_id) {
		this.title_id = title_id;
	}

	public String getStaff_code() {
		return staff_code;
	}

	public void setStaff_code(String staff_code) {
		this.staff_code = staff_code;
	}

	public String getStaff_name() {
		return staff_name;
	}

	public void setStaff_name(String staff_name) {
		this.staff_name = staff_name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public String getNatives() {
		return natives;
	}

	public void setNatives(String natives) {
		this.natives = natives;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getPolitical() {
		return political;
	}

	public void setPolitical(String political) {
		this.political = political;
	}

	public String getMarry() {
		return marry;
	}

	public void setMarry(String marry) {
		this.marry = marry;
	}

	public String getComputer() {
		return computer;
	}

	public void setComputer(String computer) {
		this.computer = computer;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getDegree() {
		return degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSpecialty() {
		return specialty;
	}

	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Integer getMan_id() {
		return man_id;
	}

	public void setMan_id(Integer man_id) {
		this.man_id = man_id;
	}

	@Override
	public String toString() {
		return "Staff [id=" + id + ", dept_id=" + dept_id + ", p_id=" + p_id + ", title_id=" + title_id
				+ ", staff_code=" + staff_code + ", staff_name=" + staff_name + ", sex=" + sex + ", card=" + card
				+ ", natives=" + natives + ", date=" + date + ", age=" + age + ", nation=" + nation + ", political="
				+ political + ", marry=" + marry + ", computer=" + computer + ", language=" + language + ", degree="
				+ degree + ", email=" + email + ", address=" + address + ", specialty=" + specialty + ", photo=" + photo
				+ ", state=" + state + ", man_id=" + man_id + ", jt=" + jt + ", position=" + position + "]";
	}
	
}
